<div class="post">
	<div class="title">
		<?php echo CHtml::link(CHtml::encode($data->post_title), $data->url); ?>
	</div>
	<?php if(!Yii::app()->user->isGuest): ?>
	<div class="admin">
		<?php echo CHtml::link('编辑', $data->editUrl); ?>
		<?php echo CHtml::link('删除', $data->deleteUrl); ?>
	</div>
	<?php endif?>
	<div class="author">
		<?php echo ' 最新修改时间   '.$data->post_modified; ?>
	</div>
	<div class="content">
		<?php
			$this->beginWidget('CMarkdown', array('purifyOutput'=>true));
			echo $data->post_content;
			$this->endWidget();
		?>
	</div>
	<div class="nav">
		<?php echo CHtml::link("Comments ({$data->commentCount})",$data->url.'#comments'); ?> 
	</div>
</div>
